﻿using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace WhsFacebookTest
{
    [TestClass]
    public static class log4net_
    {
        [AssemblyInitialize]
        public static void Configure(TestContext context)
        {
            var l = new log4net.Layout.PatternLayout();

            l.ConversionPattern = "%level %thread %logger - %message%newline";
            l.ActivateOptions();
			
            var ca = new log4net.Appender.ConsoleAppender();

            ca.Threshold = log4net.Core.Level.All;
            ca.Layout = l;
            ca.ActivateOptions();

            log4net.Config.BasicConfigurator.Configure(ca);
        }
    }
}


